<?php
/**
 * <https://y.st./>
 * Copyright © 2019 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'<{title}>' => 'Cant&apos;t send mail',
	'takedown' => '2017-11-01',
	'<{body}>' => <<<END
<img src="/img/CC_BY-SA_4.0/y.st./weblog/2019/06/27.jpg" alt="Howard Elementary School: Secret meeting changed to Monday" class="framed-centred-image" width="800" height="480"/>
<section id="diet">
	<h2>Dietary intake</h2>
	<p>
		For breakfast, I had 48 grams of cereal and 118 grams of soy milk.
		For lunch, I had 651 grams of potato gnocchi, cashew sauce, and chopped veggie dogs.
		For lunch, I had 541 grams of potato gnocchi, cashew sauce, and chopped breakfast sausage.
		At the $a[EUGLUG] meeting, I ended up eating nearly a whole box of crackers.
		I really shouldn&apos;t&apos;ve done that.
	</p>
</section>
<section id="drudgery">
	<h2>Drudgery</h2>
	<p>
		My discussion post for the day:
	</p>
	<blockquote>
		<p>
			Android, as the discussion assignment points out, is an operating system.
			The question it poses is what the relationship between Android and Linux is.
			So what we first have to ask ourselves is &quot;What is Linux?&quot;.
		</p>
		<p>
			There are two real answers to this.
			First, there&apos;s the Linux kernel, which is called Linux.
			Android&apos;s relationship with the Linux kernel is simple: it&apos;s the kernel Android uses (Murphy, 2011).
			A kernel is the core of the operating system, and is a component that all sufficiently-complex modern operating systems have.
			This includes Windows, OS X, $a[BSD], Solaris, UNIX, iOS, Blackberry, and yes, it includes Android too, along with many more.
			Secondly, there&apos;s the Linux operating system, which is also called Linux.
			The Linux operating system is an amalgam of components from various sources, one of which is the Linux kernel.
			Through some strange twist of fate, the operating system as a whole became known by the kernel&apos;s name.
			What relationship does Android have with the Linux operating system?
			Not much of one, really.
			They share a kernel.
			That&apos;s about the extent of the relationship.
		</p>
		<p>
			It&apos;s worth noting that the reading assignment this week, and even the reading assignment last week, didn&apos;t even mention the relationship between Linux and Android, but it is (very) briefly mentioned in the textbook if you do a quick control + &quot;F&quot; search.
		</p>
		<div class="APA_references">
			<h3>References:</h3>
			<p>
				Murphy, M. L.
				(2011).
				<a href="https://my.uopeople.edu/mod/resource/view.php?id=178261">The Busy Coder&apos;s Guide to Android Development</a>.
				Retrieved from <code>https://my.uopeople.edu/mod/resource/view.php?id=178261</code>
			</p>
		</div>
	</blockquote>
</section>
<section id="Minetest">
	<h2>Minetest</h2>
	<img src="/img/CC_BY-SA_3.0/minetest.net./weblog/2019/06/27.png" alt="Local checkpoint interface" class="framed-centred-image" width="1024" height="600"/>
	<p>
		I worked on Zero while waiting for the missionaries.
		They stood me up again, without so much as even letting me know they couldn&apos;t make it, so I ended up working on it the full hour and a half they were supposedly going to be here for.
	</p>
	<p>
		I&apos;ve made great progress on the checkpoints.
		First, they have names now.
		When you place a checkpoint, it&apos;s automatically assigned its coordinates as its name.
		You can then interact with the checkpoint to set a more-descriptive name.
		Checkpoints don&apos;t have a concept of ownership; anyone that reaches one can use it.
		For that reason, anyone can normally set the name of a checkpoint, even if they weren&apos;t the one to place it down.
		However, checkpoints respect the <code>minetest.is_protected()</code> function, and don&apos;t allow players that aren&apos;t allowed to modify the area to change the checkpoint&apos;s name.
		A different form is presented to them, with the name presented as plain text instead of changeable text in a field, and if the player somehow submits a name change anyway (for example, using a hacked client), the name change is discarded.
	</p>
	<p>
		Secondly, part of the checkpoint interface is finished.
		I&apos;d planned to have a main hub form with about three buttons leading to other forms with various features.
		One form would allow the player to work with the local checkpoint, performing tasks such as grabbing the checkpoint or renaming it.
		A second form would allow you to warp to other checkpoints.
		And the third form would allow you to manage grabbed checkpoints; for example, you could delete them to make room for other checkpoints.
		I&apos;ve condensed this now though.
		First, there is no hub form, you just start on the local checkpoint form.
		Secondly, you switch between forms using tabs at the top instead of needing a hub page and back buttons.
		And third, I&apos;m going to have the checkpoint-management features be on the same page as the warping features.
		Or maybe you have to go to a checkpoint and remove it from your list from that checkpoint.
		I&apos;m not sure yet.
		I&apos;ve gotten the local checkpoint form completed.
		I haven&apos;t started on the remote checkpoint form though.
		The first step in that will be some back end work for converting the lists of players that have each checkpoint to lists of checkpoints that each player has.
		From there, the remote checkpoint page can iterate over the checkpoint list and display each one along with whatever relevant buttons end up involved.
	</p>
	<p>
		Oh.
		Yeah.
		For a touch of flair, an image of the checkpoint you&apos;re at appears on the local checkpoint form.
		Its colour is determined by the colour of the checkpoint you&apos;re currently at.
	</p>
	<p>
		Come to think of it, I forgo to include a check to see if the player is even allowed to grab the checkpoint.
		The number of checkpoints you&apos;re allowed to hold at once is supposed to be determined by the amount of mining you&apos;ve done, but there&apos;s not actually a limit for the time being.
		I guess coding that limit will be easier once I have the lists of checkpoints each player has though, as the checker can then count those checkpoints.
	</p>
</section>
<section id="mining">
	<h2>Mining games</h2>
	<p>
		Every once in a while, I try to search the Internet for mining games.
		Unfortunately, my interpretation of the phrase &quot;mining game&quot; is very different from the Internet&apos;s interpretation of that same phrase.
		I got started with virtual mining in a {$a['2D']} environment, in which what you saw was the wall you were looking at as a miner, and you clicked the wall in places to expose the gems beneeth.
		Sometimes I get nostalgic for that game, but being a proprietary game from my childhood, I don&apos;t play it any more.
		I&apos;d like to find a free software replacement.
		The Internet&apos;s idea of a mining game though is a Minetest lookalike.
		In fact, Minetest itself comes up in my searches every time.
		That&apos;s not what I&apos;m after.
		I already know about Minetest.
		It&apos;s awesome, but it&apos;s not always what I&apos;m after in a mining experience.
	</p>
	<p>
		Anyway, this time, I found a Minetest lookalike that bragged having over ten types of blocks as one of its great features.
		Seriously?
		Over ten?
		From the looks of it, it has at least twenty-two blocks, but still, that&apos;s not so many.
		Just look at Minetest itself.
		So many block choices.
		I mean, I&apos;ve been focussing on over thirty of Minetest Game&apos;s blocks as the theme of my Zero mod.
		And that&apos;s a small fraction of what Minetest Game actually offers.
		I think at last count, I saw Minetest Game had over one hundred blocks, but I don&apos;t recall for sure.
		It definitely has several dozen though.
		If you&apos;re looking for a {$a['3D']} block world with mining and building, Minetest Game certainly has you covered.
	</p>
</section>
<section id="flies">
	<h2>Fruit flies</h2>
	<p>
		The fruit fly traps haven&apos;t caught a single fly yet.
		However, they do lure them, just like my dish of vinegar.
		Now that I&apos;ve been using the vacuum cleaner on them, luring them to one spot actually helps.
		I still rather it caught them while I was asleep and whatnot though, to speed the process.
		There were a lot less flies today though.
		I think I got rid of the majority of them yesterday.
		Or at least, I got rid of the majority of the adult flies.
		Who even knows how many nests of eggs are lying around, waiting to hatch.
		If I stay on top of the fly issue with the vacuum cleaner as I see them though, I&apos;m hoping they&apos;ll go away soon enough.
	</p>
</section>
<section id="email">
	<h2>Blocked email account</h2>
	<p>
		My email provider just sent me an email saying my account has been blocked from sending emails due to &quot;suspicious login activity&quot;.
		Seriously?
		I&apos;ve been using this provider for years.
		Why are they suddenly blocking me for my &quot;suspicious logins&quot;?
		Nothing has changed about the way I log in.
		At all.
	</p>
	<p>
		I&apos;ve submitted a request for help via their website, seeing as I now have no way to email them.
		I&apos;ve also downloaded the rest of my emails to my local machine just in case they start acting even more hokey now that I&apos;ve contacted them about it.
	</p>
</section>
END
);
